/**
 * Axelor Business Solutions
 *
 * Copyright (C) 2017 Axelor (<http://axelor.com>).
 *
 * This program is free software: you can redistribute it and/or  modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
body {
	height: 100%;
	display: block;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);

	display: block;
	background-color: #2f4050;
	padding-top: 60px;
}

@media (max-width: 979px) {
	body {
  		padding-top: 20px;
	}
}

header .navbar .brand-logo {
	float: left;
}

header .navbar .brand-logo img {
	height: 32px;
	margin-top: 4px;
}

.panel {
	border: 1px solid #d4d4d4;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	background-color: #fff;
}

.panel .panel-header {
	background-color: #dadada;
	padding: 10px;
	text-align: center;
}

.panel .panel-title {
	font-size: 18px;
	font-weight: 600;
}

.panel .panel-body {
	padding: 14px;
	overflow: hidden;
}

.panel {
	margin-bottom: 18px;
}

.login-panel {
	float: inherit !important;
	margin: auto !important;
	width: 420px;
	border: 0;
	box-shadow: none;
	background-color: transparent;
}

@media (min-width: 1200px) {
	.login-panel {
		width: 420px;
	}
}

@media (max-width: 767px) {
	.login-panel {
		width: 100%;
	}
}

.login-panel .panel-header {
	padding: 22px;
}

.login-panel .panel-body {
	padding: 0;
}

.login-panel .form-fields,
.login-panel .form-footer {
	padding: 22px;
}

.login-panel .form-fields {
	margin-top: 8px;
	background-color: #eaeaea;
}

.login-panel .form-footer {
	background-color: #fff;
}

.login-panel .form-footer button {
	width: 100%;
	padding: 8px 16px;
	font-weight: 600;
}

#login-form {
	margin: 0;
}

#login-form input[type="text"],
#login-form input[type="password"],
#login-form .add-on {
	border-radius: 0 !important;
	padding: 6px 10px;
	font-size: 14px;
	line-height: 20px;
	height: 20px;
}

#login-form .input-prepend {
	width: 100%;
	margin-bottom: 16px;
}

#login-form .input-prepend input {
	width: calc(100% - 60px);
}

body > footer {
	position: relative;
	margin-top: 28px;
	height: 28px;
	text-align: center;
}

body > footer > p {
	margin: 0;
	padding: 6px 10px;
}

body > footer > p,
body > footer > p a,
body > footer > p a:hover,
body > footer > p a:active,
body > footer > p a:visited {
	color: #f2f2f2;
}
